home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global partlist, TRIAL, eyerange, bugeyesx, bugeyesy
- puppetSprite(19, 1)
- set bugeyesx to the locH of sprite 19
- set bugeyesy to the locV of sprite 19
- set eyerange to 55
- set TRIAL to 0
- puppetSprite(3, 1)
- puppetSprite(4, 1)
- set partlist to [:]
- addProp(partlist, 5, random(10))
- addProp(partlist, 9, random(8))
- addProp(partlist, 7, random(4))
- addProp(partlist, 8, random(10))
- addProp(partlist, 6, random(8))
- addProp(partlist, 10, random(8))
- repeat with xxx = 1 to count(partlist)
- if getPropAt(partlist, xxx) > 0 then
- put getPropAt(partlist, xxx)
- puppetSprite(getPropAt(partlist, xxx), 1)
- set stemp to the name of cast the castNum of sprite getPropAt(partlist, xxx)
- set ntemp to the number of chars in stemp
- if char ntemp - 1 of stemp = "." then
- set ntemp to ntemp - 1
- else
- set ntemp to ntemp - 2
- end if
- set stemp to char 1 to ntemp of stemp
- set stemp to stemp & string(getAt(partlist, xxx))
- set the castNum of sprite getPropAt(partlist, xxx) to the number of cast stemp
- put stemp
- end if
- end repeat
- updateStage()
- end
-